﻿<UserControl x:Class="LiveTiss.Guias.GuiaConsultaReapresentacao"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    xmlns:guia="clr-namespace:LiveTiss.Guias"
    xmlns:uc="clr-namespace:LiveTiss.Guias.UserControls" Width="910" x:Name="guia">
    <StackPanel Width="910">
        <uc:CabecalhoGuia Value="{Binding Path=Value.identificacaoGuia, ElementName=guia, ValidatesOnDataErrors=True, NotifyOnValidationError=True, Mode=TwoWay}"
            TituloGuia="Guia Consulta Reapresentação"/>
        <uc:Beneficiario  Value="{Binding Path=Value.beneficiario, ElementName=guia, ValidatesOnDataErrors=True, NotifyOnValidationError=True, Mode=TwoWay}" />

        <Grid Margin="0,19,0,0" VerticalAlignment="Top">
            <Rectangle RadiusY="6" RadiusX="6" Stroke="#4D898989"/>
            <TextBlock TextWrapping="Wrap" Text="Dados do Contratado" Margin="10,10,8,0" VerticalAlignment="Top" FontFamily="Segoe UI Semibold" FontSize="16"/>
            <StackPanel Margin="12,44,8,0">
                <uc:Contratado Value="{Binding Path=Value.dadosContratado, ElementName=guia, ValidatesOnDataErrors=True, NotifyOnValidationError=True, Mode=TwoWay}" />
            </StackPanel>
        </Grid>
        <Grid Margin="0,19,0,0" VerticalAlignment="Top">
            <Rectangle RadiusY="6" RadiusX="6" Stroke="#4D898989"/>
            <StackPanel Margin="12,14,8,0">
                <uc:IdentificacaoProfissional Value="{Binding Path=Value.profissionalExecutante, ElementName=guia, ValidatesOnDataErrors=True, NotifyOnValidationError=True, Mode=TwoWay}"
                    Title="Nome do Profissional Executante:" />
            </StackPanel>
        </Grid>
        <uc:GuiaConsultaReapresentacaoHipoteseDiagnostica Value="{Binding Path=Value.hipoteseDiagnostica, ElementName=guia, ValidatesOnDataErrors=True, NotifyOnValidationError=True, Mode=TwoWay}" />
        <uc:AtendimentoConsultaReapr Value="{Binding Path=Value.dadosAtendimento, ElementName=guia, ValidatesOnDataErrors=True, NotifyOnValidationError=True, Mode=TwoWay}" />
        <Grid Margin="0,19,0,0" VerticalAlignment="Top">
            <Rectangle RadiusY="6" RadiusX="6" Stroke="#4D898989"/>
            <StackPanel Margin="12,14,8,0">
                <Grid Height="53" Margin="0,0,6,0">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="0.024*"/>
                        <ColumnDefinition Width="0.976*"/>
                    </Grid.ColumnDefinitions>
                    <StackPanel Grid.ColumnSpan="2" Margin="0" Grid.Row="2" Grid.Column="2">
                        <TextBlock TextWrapping="Wrap" Text="Observação:" FontFamily="Segoe UI" FontSize="13.333"/>
                        <TextBox Margin="0,6,323,0" MaxLength="240" Text="{Binding Path=Value.observacao, ElementName=guia, ValidatesOnDataErrors=True, NotifyOnValidationError=True, Mode=TwoWay}" />
                    </StackPanel>
                </Grid>
            </StackPanel>
        </Grid>
    </StackPanel>
</UserControl>
